package cn.wolfcode.qo;

import cn.wolfcode.MyEnum.ConsumptionReportEnum;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter
@Setter
public class ConsumptionReportQueryObject extends QueryObject {

    //根据分组类型 默认以部门进行查询
    private String baseType = ConsumptionReportEnum.CONSUME.getValue();
    //根据门店高查
    private Integer checkBusiness;
    //根据预约类型
    private Boolean checkAppointment;
    //查询表单状态
    private Integer checkStatus;
    //根据时间查询
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date LastTime;
}
